﻿using System;
using Gfw.Infrastructure.ExceptionImpl;
using Gfw.Infrastructure.Facilities;
using Gfw.Infrastructure.Stock.Enums;
using Gfw.Infrastructure.Stock.Facilities;
using Gfw.Models.Stock;
using Gfw.Repositories.Stock;
using Gfw.Repository;

namespace Gfw.BLL.Basic.Stock.Facilities
{
   public class AdminSellTradeFacilityImpl : AdminSellTradeFacility
    {


       public AdminSellTradeFacilityImpl(decimal count, decimal price)
           : base(count, price)
        {
           
        }

        public virtual void Execute(Repository.UnitOfWork unitOfWork = null)
        {
            base.Execute();
            StockManager.NotifyTrade();
        }
    }
}
